package com.hzw.saas.service.hpc.service.impl;

import com.hzw.saas.api.hpc.IHpcService;
import com.hzw.saas.api.product.dto.HpcItemsDto;
import com.hzw.saas.service.hpc.mapper.HpcAccountUserMapper;
import com.hzw.saas.service.hpc.mapper.HpcConfigMapper;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  超算整合数据封装服务接口
 * </p>
 *
 * @author sonam
 * @since 2021-01-25
 */
@Service("hpcServiceImpl")
@AllArgsConstructor
public class HpcServiceImpl implements IHpcService {

    private final HpcConfigMapper hpcConfigMapper;
    private final HpcAccountUserMapper hpcAccountMapper;

    @Override
    public List<HpcItemsDto> listHpcWithItems() {
        return hpcConfigMapper.listHpcWithItems();
    }

}
